package com.quanyan.place.entity;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *  供应商entity
 */
public class Supplier implements Serializable {

    private Integer id;

    @NotNull
    private String name; //供应商名称

    private Byte isChain; //是否连锁

    private String address; // 供应商地址

    private Integer provinceId;

    private Integer cityId;

    @NotNull
    private String contact; //供应商联系人

    private String phone; //供应商联系人手机号

    private String fax;  // 传真

    private Integer bcId;  // 开户银行Id

    private String bcBank;  // 开户银行

    private String bcCardno;  // 开户银行卡号

    private String bcAccountName; // 开户银行账户名

    private String comment;   // 备注

    private Integer supplierType;//区别小商品供应商和场馆供应商

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Byte getIsChain() {
        return isChain;
    }

    public void setIsChain(Byte isChain) {
        this.isChain = isChain;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public Integer getBcId() {
        return bcId;
    }

    public void setBcId(Integer bcBankId) {
        this.bcId = bcBankId;
    }

    public String getBcBank() {
        return bcBank;
    }

    public void setBcBank(String bcBank) {
        this.bcBank = bcBank;
    }

    public String getBcCardno() {
        return bcCardno;
    }

    public void setBcCardno(String bcCardno) {
        this.bcCardno = bcCardno;
    }

    public String getBcAccountName() {
        return bcAccountName;
    }

    public void setBcAccountName(String bcAccountName) {
        this.bcAccountName = bcAccountName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getSupplierType() {
        return supplierType;
    }

    public void setSupplierType(Integer supplierType) {
        this.supplierType = supplierType;
    }
}
